/**
 * 
 */

$(function() {

    $('#side-menu').metisMenu();
    var $container = $('.catThumbs');

    $container.imagesLoaded(function () {
        $container.masonry({
            itemSelector: '.post-box',
            columnWidth: '.post-box',
            transitionDuration: 0
        });
    });
    
    var $productContainer = $('.productThumbs');
    $productContainer.imagesLoaded(function () {
        $container.masonry({
            itemSelector: '.post-box',
            columnWidth: '.post-box',
            transitionDuration: 0
        });
    });
});
